package com.ddtech.business.course.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ddtech.business.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @version v1.0
 * @ClassName:CourseGrade description： 课程评分表
 * @author:wei_zhang(xiao)
 * @date: 2023-06-02 14:55
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("course_grade")
@ApiModel(value="Course对象", description="课程表")
public class CourseGrade  extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评分人ID")
    private String userId;

    @ApiModelProperty(value = "评分人名称")
    private String userName;

    @ApiModelProperty(value = "评分")
    private Double score;

    @ApiModelProperty(value = "评价内容")
    private String remark;

    @ApiModelProperty(value = "课程ID")
    private String courseId;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

}
